import 'core-js/actual/array/iterator'
import 'core-js/actual/promise'
import 'core-js/actual/object/assign'
import 'core-js/actual/promise/finally'

import {
	createSSRApp
} from "vue";
import App from "./App.vue";
import 'virtual:uno.css'
import router from '@/router' 
import pinia from '@/store'
import plugins from '@/plugins'
import SIcon from '@/icons/components/SIcon/index.vue'
import '@/styles/index.scss'
export function createApp() {
	const app = createSSRApp(App);
	app.use(pinia)
	app.use(plugins)
	app.component('SIcon', SIcon)
	return {
		app,
		router
	};
}
